/* Christmas Background Color */
body {
  background: linear-gradient(to bottom right, #ff4d4d, #006400); /* Christmas red and green gradient */
  color: white; /* White text for contrast */
  font-family: Arial, sans-serif; /* Set a modern font */
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  overflow: hidden; /* Hide any overflow from animations */
  position: relative;
}

/* Snowfall Animation */
@keyframes snow-fall {
  0% {
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(100vh);
  }
}

/* Snowflakes Effect */
.snowflake {
  position: absolute;
  top: -10px;
  color: white;
  font-size: 1.5rem;
  z-index: 99;
  animation: snow-fall linear infinite;
}

.snowflake:nth-child(1) {
  left: 10%;
  animation-duration: 6s;
  animation-delay: 0s;
}

.snowflake:nth-child(2) {
  left: 20%;
  animation-duration: 7s;
  animation-delay: 1s;
}

.snowflake:nth-child(3) {
  left: 30%;
  animation-duration: 8s;
  animation-delay: 2s;
}

.snowflake:nth-child(4) {
  left: 40%;
  animation-duration: 9s;
  animation-delay: 3s;
}

.snowflake:nth-child(5) {
  left: 50%;
  animation-duration: 5s;
  animation-delay: 0s;
}

.snowflake:nth-child(6) {
  left: 60%;
  animation-duration: 7s;
  animation-delay: 1s;
}

.snowflake:nth-child(7) {
  left: 70%;
  animation-duration: 8s;
  animation-delay: 2s;
}

.snowflake:nth-child(8) {
  left: 80%;
  animation-duration: 6s;
  animation-delay: 0s;
}

.snowflake:nth-child(9) {
  left: 90%;
  animation-duration: 7s;
  animation-delay: 1s;
}

/* Christmas DateTime Container Styling */
.datetime-container {
  position: fixed;
  top: 10px;
  right: 20px;
  font-size: 18px;
  color: #343a40; /* Dark text */
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.8); /* Slight background */
  padding: 8px 20px;
  border-radius: 10px;
  z-index: 100; /* Ensure it stays above other elements */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow */
  transition: transform 0.3s ease;
}

.datetime-container:hover {
  transform: scale(1.05); /* Add slight scaling effect on hover */
}

/* Custom Video Gallery Styling */
.gallery-container {
  padding: 50px 30px;
  background-color: #f8f9fa; /* Light gray background */
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Add a soft shadow */
  margin-top: 20px;
  width: 80%;
  max-width: 1200px;
}

.gallery-title {
  font-weight: 700;
  color: #343a40;
  margin-bottom: 40px;
  font-size: 2rem;
  letter-spacing: 2px; /* Add spacing for elegance */
  text-align: center; /* Center align the title */
  animation: fadeIn 2s ease-in-out; /* Add fade-in effect */
}

/* Gallery Item Styling */
.gallery-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px; /* Add spacing between items */
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05); /* Add scaling effect on hover */
}

/* Video Styling */
video {
  width: 100%; /* Make it fully responsive */
  height: auto; /* Maintain aspect ratio */
  max-height: 500px; /* Set a maximum height */
  object-fit: cover; /* Prevent distortion */
  border-radius: 15px; /* More rounded corners */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Video Hover Effects */
video:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Darker shadow */
}

/* Keyframes for Fade-in Effect */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
